/*=====================================================================================================================
                    Copyright(c) 2009 Geometric PLM Software Corp. All rights reserved.
                             Unpublished - All rights reserved
=======================================================================================================================
File description:
    Filename: tc_sa.h
    Module  : (geometric) itk module.

        This file manages the operations of system administrator.

=======================================================================================================================
Date               Name              Description of Change
29-Jul-2009        Penn,Xie          Initialize creation
$HISTORY$
=====================================================================================================================*/
#ifndef GITK_TC_SA_H
#define GITK_TC_SA_H

#include "vector_c.h"

// Privilege define
#define GSA_DBA_PRIVILEGE           1
#define GSA_NOT_DBA_PRIVILEGE       0

#ifdef __cplusplus
    extern "C"
    {
#endif

    /**
    * Get all users which have the privilege of system administrator.
    * @param count - <O>  the user count
    * @param users - <OF> the user tags
    * @return - ITK_ok or error code
    */
    int GSA_get_dba_users( int *count, tag_t **users );

    /**
    * Get all users which have the privilege of system administrator.
    * @param dbaList - <O> the user tags
    * @return - ITK_ok or error code
    *
    * NOTE: Please cast the data as tag_t.
    */
    int GSA_get_dba_vector( Vector_t **dbaList );

#ifdef __cplusplus
    }
#endif


#endif //GITK_TC_SA_H
